favourite_languages={
    'jen':'python',
    'sarah':'c',
    'edward':'ruby',
    'phil':'python',
}
participants=['sarah','jen','fucker','lover']
for person in participants:
    if person in favourite_languages.keys():
        print(f"{person.title()},thank you for your participantion!")
    else:
        print("Welcome to our investigation!")
